package com.xyx.yfy_site_msg.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xyx.yfy_site_msg.system.entity.YfyCustomer;
import com.xyx.yfy_site_msg.system.entity.YfyDataEntity;
import com.xyx.yfy_site_msg.system.entity.YfySite;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xyx
 * @since 2020-11-11
 */
public interface YfySiteMapper extends BaseMapper<YfySite> {

    void removeSiteByCustomerName(@Param("customerName") String customerName);

    List<YfyDataEntity> loadSubmit(@Param("month") String month);

    List<YfyDataEntity> loadUpdate(@Param("month") String month);

    List<YfySite> loadSiteByUserType();

}
